#include <stdio.h>
#include <stdlib.h>
#include "include/userinfo.h"
#include "include/parameter.h"


int main()
{
  
  user_list *stu_list =  new user_list;            
  FILE *s_fp = NULL;    //File 

  user_node *stu = NULL;  		//学生链表头指针

  stu_list->make_user_head_node();

  stu_list->fopen_user_file(&s_fp,__RW__);
 
  stu_list->make_user_node_from_file(stu,s_fp,MIDD_INSERT);	
  
  fclose(s_fp);  // close the file of student
  
  return 0;
}
